#!/bin/sh

aclocal
if [ $? -ne 0 ]
then
	echo ERROR in aclocal
	exit 1
fi

autoheader
if [ $? -ne 0 ]
then
	echo ERROR in autoheader
	exit 1
fi

automake --foreign --add-missing --copy
if [ $? -ne 0 ]
then
	echo ERROR in automake --foreign --add-missing --copy
	exit 1
fi

autoconf
if [ $? -ne 0 ]
then
	echo ERROR in autoconf
	exit 1
fi